package com.example.unisys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.unisys.entity.Menu;
import com.example.unisys.entity.RoleMenu;

import java.util.List;

public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> findUserPermissions(String username);

    List<RoleMenu> findUserMenus(String username);
}